const store = {
    debug: true,
    state: {
        addBook:{},
    },
    setAddBookAction(newValue){
        if(this.debug)
            console.log('setAddBookAction with ',newValue)
        this.state.addBook = newValue
    },
    clearAddBookAction(){
        if(this.debug)
            console.log('clearAddBookAction with ',newValue)
        this.state.message = ''
    }
}